package com.ln.demo03;

/**
 * @author Ln
 * @version 终极版
 * @date 2022/10/25 15:58
 */
public class Test03 {
    public static void main(String[] args) {
        Info<Integer> info = new Info<>();
        info.setVar(16839);
        fun(info);

        Info<String> info1 = new Info<>();
        info1.setVar("你好设计界");
        fun(info1);
    }

    public static void fun(Info<?> info){
        info.show();
    }
}
